package main

import "fmt"

type Point struct {
	X, Y int
}

type Circle struct {
	Point
	r float64
}

func main() {
	c := Circle{Point{10, 10}, 6.4}
	// c := Circle{11, 11, 6.4} // not ok
	fmt.Println(c)
	fmt.Println(c.r)
	fmt.Println(c.Point.X)
	fmt.Println(c.Y)
}
